from flask import Blueprint
# 导入文件
bp_v1 = Blueprint('v1', __name__, url_prefix='/v1')


def cite_routes():  # 注册某个模块下的蓝图
    from .user import bp_user
    from .token import bp_token
    from .resource import bp_resource
    from .test import test

    bp_v1.register_blueprint(bp_user)
    bp_v1.register_blueprint(bp_token)
    bp_v1.register_blueprint(bp_resource)


cite_routes()
